package com.matt.domain.course;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "course_template_3")
@Data
@EqualsAndHashCode(callSuper = true)
public class CourseTemplateAreaBuild extends Model {

    @Column(columnDefinition = "varchar(50) COMMENT '课程名称'")
    private String name;

    @Column(columnDefinition = "text COMMENT '内容'")
    private String content;
    
    @Column(columnDefinition = "int default 0  COMMENT '起始月龄'")
    private Integer beginMonth = 0;

    @Column(columnDefinition = "int default 0   COMMENT '截止月龄'")
    private Integer endMonth = 0;
    
    @Column(columnDefinition = "int default 0   COMMENT '是否启用'")
    private Integer Status;
    
    @Column(columnDefinition = "longtext comment '教学附件'")
    private String attachments;
}
